package com.ruoyi.demo.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.web.controller.BaseController;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.demo.domain.TbPremisesInfo;
import com.ruoyi.demo.domain.TbRoomInfo;
import com.ruoyi.demo.domain.Vo;
import com.ruoyi.demo.dto.PageTbRoomInfoFsResponseDTO;
import com.ruoyi.demo.dto.PageTbRoomInfoJzGyResponseDTO;
import com.ruoyi.demo.dto.PageTbRoomInfoJzRequestDTO;
import com.ruoyi.demo.dto.PageTbRoomInfoResponseDTO;
import com.ruoyi.demo.service.TbPremisesInfoService;
import com.ruoyi.demo.service.TbRoomInfoService;
import com.ruoyi.system.api.RemoteUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;



@RestController
@RequestMapping("fang")
public class FangYuanController extends BaseController {



    @Autowired
    TbRoomInfoService tbRoomInfoService;




    @RequestMapping("list")
    public IPage<TbRoomInfo> list(Page page, Vo vo){
        return  tbRoomInfoService.seleList(page,vo);
    }





}
